import com.online.shopping.mapper.TbBrandMapper;
import com.online.shopping.pojo.TbBrand;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author Rui
 * @version 1.0
 * @date 2020/11/11 15:36
 */
public class T1 {

    TbBrandMapper tbBrandMapper;

    @Test
    public void findBrandById(){
        TbBrand tbBrand = tbBrandMapper.selectByPrimaryKey(1l);
        System.out.println(tbBrand);
    }
}
